﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace XNA_Utilities.UserInterface
{
    /// <summary>
    /// The basic class that all other interface elements are based on
    /// </summary>
    public class UserInterfaceBaseElement : IDrawable
    {

        public void Draw(GameTime gameTime)
        {
            throw new NotImplementedException();
        }

        public int DrawOrder
        {
            get { throw new NotImplementedException(); }
        }

        public event EventHandler<EventArgs> DrawOrderChanged;

        public bool Visible
        {
            get { throw new NotImplementedException(); }
        }

        public event EventHandler<EventArgs> VisibleChanged;
    }

    /// <summary>
    /// A 2D square that can house other UserInterfaceElements
    /// </summary>
    public class Frame : UserInterfaceBaseElement
    {
        List<UserInterfaceBaseElement> children;

        public Frame()
        {
            children = new List<UserInterfaceBaseElement>();
        }
    }

}
